html {
    -webkit-text-size-adjust: none;
}

.fg-default {
    color: black;
}

.fg-default-reversed {
    color: white;
}

.fg-black {
    color: black;
}

.fg-red {
    color: red;
}

.fg-green {
    color: green;
}

.fg-yellow {
    color: yellow;
}

.fg-blue {
    color: blue;
}

.fg-magenta {
    color: magenta;
}

.fg-cyan {
    color: cyan;
}

.fg-white {
    color: white;
}

.bg-default {
    background: white;
}

.bg-default-reversed {
    background: black;
}

.bg-black {
    background: black;
}

.bg-red {
    background: red;
}

.bg-green {
    background: green;
}

.bg-yellow {
    background: yellow;
}

.bg-blue {
    background: blue;
}

.bg-magenta {
    background: magenta;
}

.bg-cyan {
    background: cyan;
}

.bg-white {
    background: white;
}

body {
    font-family: palatino, georgia, verdana, arial, sans-serif;
    text-align: center;
    overflow: hidden;
    margin-top: 0px;
    margin-bottom: 8px;
}

/* The About and savefiles box */
#about
{
	font-size: 12px;
	position: fixed;
	text-align: left;
	width: 170px;
	z-index: 0;
}

h1
{
	font-family: "URW Chancery L", "Apple Chancery", "Zapf Chancery", "Monotype Corsiva", chancery, cursive;
	font-size: 4em;
	font-weight: normal;
	margin: 0;
}

#about p
{
	margin: 0;
}

a
{
	color: #000;
}

h2
{
	font-size: 1.5em;
}

.buffered-window {
    text-align: center;
    margin: 0 auto;
    font-family: monaco, "andale mono", lucidatypewriter, "dejavu sans mono", courier, "courier new", monospace;
    font-size: 10pt;
    top: 0px;
    left: 0px;
    position: fixed;
    z-index: 2;
}

#top-window {
    z-index: 3;
}

#content {
    background: #fff;
    margin: 0 auto;
    position: relative;
    text-align: left;
    z-index: 1;
}

#editing-cursor {
    text-decoration: underline;
}

#cursor {
    text-decoration: blink;
}

.finished-input {
    opacity: 0.5;
}

.z-roman {
}

.z-bold {
    font-variant: small-caps;
}

.z-italic {
    font-style: italic;
}

.z-fixed-pitch {
    font-family: monaco, andale mono, lucidatypewriter, courier, courier new, monospace;
    white-space: pre;
    font-size: 10pt;
}

.z-breaking-whitespace {
    white-space: normal;
}

#top-window .z-bold {
    text-decoration: underline;
    font-variant: normal;
}

.error {
    background: red;
    color: white;
    padding: 10px;
    margin: 10px;
}

#loading-screen {
    padding: 50px;
    text-align: center;
    color: gray;
    font-size: 18pt;
}

#progress-text {
    font-size: 10pt;
}

.iphone-visible {
    opacity: 0.5;
}

.iphone-invisible {
    opacity: 0;
}

#iphone-text-field {
    border: none;
    background: inherit;
    font-family: palatino, georgia, verdana, arial, sans-serif;
    font-size: 14pt;
    text-align: right;
    position: relative;
}

/* Hide the pastebox */
#pastebox, #pastebox input
{
	background: transparent;
	border: none;
	position: fixed;
	right: 0;
	top: 0;
	width: 1px;
}
